from setuptools import setup
from distutils.core import Extension
import numpy

version = '0.10'
MOD = 'Fib'
source = 'fib.c'

# 使用 numpy.get_include() 来获取 NumPy 头文件的路径
include_dirs = [numpy.get_include()]

setup(name = MOD,
      version = version,
      description = "a fib sequence calculate package",
      classifiers=[
        "Programming Language :: Python",
        ],
      author = 'Hanfeng Zhang',
      ext_modules = [Extension(MOD, sources = ['fib.c'], include_dirs=include_dirs)],
      install_requires=[
          'setuptools',
      ]
)
